package com.db.patterns.prototype.demo03;

/**
 * 具体的构建者
 */
public class IntelBuilder extends Builder {
    @Override
    public void buildCpu() {
        computer.setCpu("14600kf");
    }

    @Override
    public void buildMemory() {
        computer.setMemory("金百达 32g*2 套条");
    }

    @Override
    public void buildMotherboard() {
        computer.setMotherboard("华硕B760M重炮手");
    }

    @Override
    public void buildPowerSupply() {
        computer.setPowerSupply("长城650w金牌全模组");
    }

    @Override
    public void buildGraphicsCard() {
        computer.setGraphicsCard("华硕4060ti 巨齿鲨");
    }

    @Override
    public void buildSolidState() {
        computer.setSolidState("金士顿kc3000 1TB");
    }

    @Override
    public void buildChassis() {
        computer.setChassis("ROG太阳神机箱");
    }

    @Override
    public Computer createComputer() {
        return computer;
    }
}
